#pragma once
#include<stdio.h>
#include<time.h>
#include<stdlib.h>

#define ROW 9
#define LINE 9

#define ROWS ROW+2
#define LINES LINE+2

#define NUM_MINE 10

void begin(char board[ROWS][LINES], int rows, int lines, char a);

void DisplayBoard(char board[ROWS][LINES], int row, int line);

void Layout(char board[ROWS][LINES], int row, int line);

void Search_mine(char mine[ROWS][LINES], char show[ROWS][LINES], int row, int line);